#include"list.h"

int main() {
    const lwj::list<int> lt = {1,2,3,4,5};
    for(auto it = lt.rbegin(); it != lt.rend(); it++)
    {
        cout << *it << ' ';
    }
    cout << endl;
    auto it = lt.rbegin();
    cout << *(++it) << endl;
    cout << endl;
    return 0;
}
